package com.yr.ryjk.score.dao;

import java.util.List;

import com.yr.ryjk.score.entity.Score;
import com.yr.ryjk.score.entity.ScoreVO;
import com.yr.ryjk.score.entity.ScoreVO2;

public interface ScoreMapper {
    int deleteByPrimaryKey(String scoreId);

    int insert(Score record);

    int insertSelective(Score record);

    Score selectByPrimaryKey(String scoreId);
    
    int selectCount(String userId);
    
    int selectCountOfScores(String docId);
    
    List<ScoreVO> selectByUserId(int start, int limit, String userId);

    List<ScoreVO2> selectByDocId(int start, int limit, String docId);
    
    int updateByPrimaryKeySelective(Score record);

    int updateByPrimaryKey(Score record);

    int selectCommentByConsultId(String consultId);
}